Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '" AND YEAR(datum) = 1977' at line 1 in /data/web/virtuals/6870/virtual/www/domains/citato.cz/citaty/c1taty.php:64
Stack trace:
#0 /data/web/virtuals/6870/virtual/www/domains/citato.cz/citaty/c1taty.php(64): PDO->query('SELECT id FROM ...')
#1 {main}
thrown in /data/web/virtuals/6870/virtual/www/domains/citato.cz/citaty/c1taty.php on line 64